﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminIndexMaster.master" AutoEventWireup="true" CodeFile="Mall_Message.aspx.cs" Inherits="Admin_Mall_Message" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  
   <table class="adminlist">
      <tr>
         <td style="text-align:center">
        <asp:Repeater ID="Repeater1" runat="server">
        <HeaderTemplate>
           <table class="adminlist">
              <tr>
                 <td style=" width:5%">编号</td>
                 <td style=" width:20%">标题</td>
                 <td style=" width:35%">内容</td>
                 <td style=" width:15%">提交时间</td>
                 <td style=" width:10%">联系人</td>
                 <td style=" width:10%">联系电话</td>
                 <td style=" width:5%">操作</td>
              </tr>
             
           </table>
        </HeaderTemplate>
        <ItemTemplate>
           <table class="adminlist">
               <tr>
                  <td style=" width:5%"> 
                      <asp:CheckBox ID="CheckBox1" runat="server" />
                      <asp:HiddenField ID="HiddenID" runat="server" Value='<%#Eval("MessageID") %>' />
                   </td>
                  <td style=" width:20%"><%#Eval("Title") %></td>
                  <td style=" width:30%"> <%#Eval("Content") %>
                  </td>
                  <td style=" width:15%"><%#Eval("CreateTime") %></td>
                  <td style=" width:10%">
                     <%#Eval("ContactMen")%>
                  </td>
                  <td style=" width:10%"></td>
                  <td style=" width:10%">
                      <asp:LinkButton ID="SeeContent" runat="server" OnClick="SeeContent_Click">查看</asp:LinkButton>
                      <asp:LinkButton ID="lbtDel" runat="server" OnClientClick="return confirm('确定删除吗？')" OnClick="lbtDel_Click">删除</asp:LinkButton></td>
               </tr>
               
           </table>
        </ItemTemplate>
        <FooterTemplate>
            <table class="adminlist">
               <tr>
                  <td style="text-align:center">
                      <asp:Button ID="AllSelect" runat="server" Text="全选" Width="50px" OnClick="Allselect_Click" /> &nbsp&nbsp&nbsp
                       <asp:Button ID="NotSelect" runat="server" Text="反选" Width="50px" OnClick="NotSelect_Click" />    &nbsp&nbsp&nbsp
                      <asp:Button ID="Butdel" runat="server" OnClientClick="return confirm('确定删除吗？')" OnClick="Butdel_Click" Text="删除" />
                  </td>
               </tr>
            </table>
        </FooterTemplate>
    </asp:Repeater>
         </td>
      </tr>
      <tr>
         <td style=" text-align:center">
            <asp:PlaceHolder ID="PlaceHolder1" runat="server"  Visible="false">
               查看内容： <asp:TextBox ID="ContentBox" runat="server" Width="400px" TextMode="MultiLine">
                     
                </asp:TextBox>
            </asp:PlaceHolder>
         </td>
      </tr>
   </table>
</asp:Content>

